home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
comm2
/
zvt1_11u.lha
/
ZVT
/
ExampleScripts
/
CallScript.rexx
next >
Wrap
OS/2 REXX Batch file
|
1995-09-05
|
651b
|
32 lines
/*
* Callscript - test version
*
* This little script opens the line (using playfile), plays the file
* 'CallBack.ZVT', while being sensitive to DTMF tones,
*
* waits five seconds for a keypress, giving a short acknowledge tone if
* recognized,
*
* hangs up and dials a number (insert your number after 'dialup')
*
* If phone is picked, plays the same file again, puts a carrier on the
* line and hangs up
*/
options results
address zvt.1
playfile CallBack.ZVT 0
readnkeys 1
showstatus result
hangup
dialup >Please insert your number<
if (result = 1) then do
playfile CallBack.ZVT 0
OpenData 0 57600
hangup
end